home *** CD-ROM | disk | FTP | other *** search
Text File | 2001-02-28 | 909 b | 21 lines | [TEXT/ToyS] |
- set theDialog to {size:{223, 137}, style:standard window, closeable:true, name:"Custom Icons", default item:9, contents:{¬
- {class:icon, bounds:{8, 8, 40, 40}, contents:2}, ¬
- {class:icon, bounds:{48, 8, 80, 40}, contents:0}, ¬
- {class:icon, bounds:{88, 8, 120, 40}, contents:1}, ¬
- {class:icon, bounds:{8, 48, 40, 80}, contents:6001}, ¬
- {class:icon, bounds:{48, 48, 80, 80}, contents:6002}, ¬
- {class:icon, bounds:{88, 48, 120, 80}, contents:6003}, ¬
- {class:icon, bounds:{128, 48, 160, 80}, contents:6004}, ¬
- {class:icon, bounds:{168, 48, 200, 80}, contents:6005}, ¬
- {class:push button, bounds:{132, 100, 202, 120}, name:"OK"}}}
-
- dd install with fonts {name:"Charcoal", size:12} with grayscale
- set d1 to dd make dialog theDialog
-
- repeat
- set userItem to dd interact with user
- if userItem = -1 or userItem = 9 then exit repeat
- end repeat
-
- set values_of_d1 to dd get value of every item of d1
- dd uninstall